﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="index.aspx.cs" Inherits="jnxcLogin.index" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 
    <title>统一登录平台</title>
    <script src="Scripts/jquery-1.8.3.min.js"></script>
    <script src="js/indexmenu.js"></script>
    <style type="text/css">
        body {
            background: url('Images/index/backimg.png')  repeat scroll 0% 0% / 100%;
           
        }

        body, select, input, h1, h2, h3 {
            font-size: 12px;
        }

        body, input, select {
            font-family: verdana;
        }

        body, h1, h2, h3, ul, li, form, p, img {
            margin: 0;
            padding: 0;
            border: 0;
        }

        input {
            margin: 0;
            padding: 0;
        }

        input, img {
            line-height: normal;
        }

        ul, li {
            list-style: none;
            
        }

        article, aside, footer, header, hgroup, nav, section {
            display: block;
        }

        a {
            color: #fff;
            text-decoration: none;
        }

            a:hover {
                text-decoration: underline;
            }

        .top {
            background-color: #43984b;
            height: 43px;
        }
        .top-right-link {
            line-height:43px; float:left; width:598px;text-align:right;
        }
            .top-right-link a {
                color:white;
            }

        .bottom {
            position: absolute;
            width: 100%;
            clear: both;
            height: 43px;
            margin-top: 20px;
            bottom: 0;
            left: 0;
            background-color: #caf398;
            text-align:center;
            line-height:43px;
        }
            .bottom a {
                color:#4c7eaa;
            }
            .bottom span {
                 color:#4c7eaa;
            }

        .main {
            z-index: 10;
            position: relative;
            margin-top: 67.5px;
        }

       .inner {
            width: 686px;
            margin: 0px auto;
            position: relative;
       }
        .login {
            height:345px; width:686px;
            margin-top:10px;
            
        }
        .left-button {
            float: left;
            width:219px;

        }
        .left-button ul li {
            height:70px;
        }
        .right-login {
            float:left;
            width:463px;
            height:349px;
            background-color:#dcf6d7;
        }
        .right-login-ui {
            margin-top:30px;
            margin-left:60px;
        }
        .right-login-ui-span {
            font-size:25px; font-family:黑体; font-weight:bold; color:#41698c
        }
        .right-login-ui-fz-span {
            font-size:28px; font-family:黑体;font-weight:bold;color:#45ae51
        }
        .right-login-ui-cb-span {
            font-size:28px; font-family:黑体;font-weight:bold;color:#f00213
        }
        .right-login-ui-jy-span {
            font-size:28px; font-family:黑体;font-weight:bold;color:#029fe0
        }
        .right-login-ui-kspx-span {
            font-size:28px; font-family:黑体;font-weight:bold;color:#8868da
        }
        .right-login-ui-sb-span {
            font-size:28px; font-family:黑体;font-weight:bold;color:#a01f2f
        }
        .txt_login_name_ui {
            width:340px;
            height:47px;
            border:solid 1px;
            border-color:#dc9d85;
            vertical-align:middle;
             line-height:47px;
             background-color:white;
        }
        .txt_login_name {
            border:0;
           font-size:18px;
            width:280px;
        }
        .txt_login_pass_ui {
              width:340px;
            height:47px;
            border:solid 1px;
            border-color:#dc9d85;
            vertical-align:middle;
             line-height:47px;
             background-color:white;
             margin-top:20px;
        }
        .txt_login_pass {
              border:0;
           font-size:18px;
            width:170px;
        }
        .lbn_login {
            background-image:url('Images/index/loginin.png');
            height:40px;
            width:102px;
            border:0;
        }
        .span-color {
            color:#7d7d7d;
        }
    </style>
    <script type="text/javascript">
        //加入收藏夹
        function Addme() {
            url = document.URL;  //你自己的主页地址
            title = "济南祥辰统一登录平台";  //你自己的主页名称
            window.external.AddFavorite(url, title);
        }
        //设为首页
        function SetHome(obj, vrl) {
            try {
                obj.style.behavior = 'url(#default#homepage)'; obj.setHomePage(vrl);
            }
            catch (e) {
                if (window.netscape) {
                    try {
                        netscape.security.PrivilegeManager.enablePrivilege("UniversalXPConnect");
                    }
                    catch (e) {
                        alert("此操作被浏览器拒绝！\n请在浏览器地址栏输入“about:config”并回车\n然后将 [signed.applets.codebase_principal_support]的值设置为'true',双击即可。");
                    }
                    var prefs = Components.classes['@mozilla.org/preferences-service;1'].getService(Components.interfaces.nsIPrefBranch);
                    prefs.setCharPref('browser.startup.homepage', vrl);
                }
            }
        }
    </script>
</head>
<body>
    <form id="form1" runat="server">
        <div>
            <div class="top">
                <div class="inner">
                    <div style="line-height:43px; float:left; width:81px;">
                        <img src="Images/index/logo.png" style="margin-top:3px;"/>
                    </div>
                    <div class="top-right-link">
                        <a href="http://www.xcforest.com">公司首页</a>&nbsp;&nbsp;
                        <a onclick="Addme()" style="cursor:pointer">搜藏本站</a>&nbsp;&nbsp;
                        <%--<a onClick="this.style.behavior='url(#default#homepage)';this.setHomePage('http://www.xcforest.com');"  style="cursor:hand;">设为首页</a>--%>
                    </div>
                </div>
            </div>
            <div class="main">
                <div class="inner">
                    <asp:Label ID="lbl_title" runat="server" Text="" style="font-size:28px; color:white; font-weight:bold"></asp:Label>
                    <div class="login">
                        <div class="left-button">                          
                            <ul>
                                <li><img id ="img_cb" src="Images/index/button-cb-3.png" /></li>  
                                <li><img id="img_fz"  src="Images/index/button-fz-1.png"/></li>
                                <li><img id ="img_jy" src="Images/index/button-jy-1.png" /></li>
                                <li><img id ="img_ks" src="Images/index/button-kspx-1.png" /></li>
                                <li><img id ="img_sb" src="Images/index/button-sb-1.png" /></li>
                            </ul>                           
                        </div>
                        <div class="right-login">
                            <div class="right-login-ui">
                                <span class="right-login-ui-span">登录</span>
                                <span id="s-font" class="right-login-ui-cb-span">测报</span>
                                <span class="right-login-ui-span">系统</span>

                                <div style="margin-top:25px;">
                                    <div class="txt_login_name_ui">
                                        <span style="color:#e1b5a1; font-size:18px; margin-left:5px;">帐号&nbsp;</span>
                                        <asp:TextBox ID="txt_name" runat="server" CssClass="txt_login_name"></asp:TextBox>
                                        </div>
                                    <div class="txt_login_pass_ui">
                                        <div style="width:235px; float:left;">
                                            <span style="color:#e1b5a1; font-size:18px; margin-left:5px;">密码&nbsp;</span>
                                         <asp:TextBox ID="txt_pass" runat="server" CssClass="txt_login_pass" TextMode="Password"></asp:TextBox>
                                        </div>
                                        <asp:Button ID="btn_login" runat="server" Text="" CssClass="lbn_login" OnClick="btn_login_Click" />
                                    </div>
                                    <div style=" margin-top:28px; width:340px; height:28px;line-height:28px; ">
                                        <div style="float:left; width:200px;">
                                            <asp:CheckBox ID="cbo_isremember" runat="server" Text="  记住帐户" CssClass="span-color" /> 
                                            <asp:HiddenField ID="hid_loginsys" runat="server" />
                                        </div>
                                        <div style="float:left;width:140px;text-align:right; ">
                                            <asp:LinkButton ID="lbn_loginAdmin" runat="server" CssClass="span-color" OnClick="lbn_loginAdmin_Click" >管理员登录</asp:LinkButton>
                                        </div>
                                       <div style=" clear:both;"></div>
                                    </div>
                                    <div style="margin-top:28px;">
                                        <a href="zxtsoft.html" style="background-image:url('Images/index/zxtdownloadimg.png'); height:34px; width:222px;display:block;"></a> 
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
               
            </div>
            <div class="bottom">
                <a href="http://www.forestpest.org/">中国森防信息网</a>&nbsp;&nbsp;
                <a href="http://www.lknet.ac.cn/">中国林业信息网</a>&nbsp;&nbsp;
                <a href="http://www.forestry.gov.cn/">中国林业网</a>&nbsp;&nbsp;
                <a href="http://www.greentimes.com/green/index/index01.htm">中国林业新闻网</a>&nbsp;&nbsp;
                <a href="http://www.sdly.gov.cn/">山东省林业厅</a>&nbsp;&nbsp;
                <a href="http://www.jnly.gov.cn/">济南林业信息网</a>&nbsp;&nbsp;&nbsp;&nbsp;
                |&nbsp;&nbsp;&nbsp;&nbsp; <span>鲁ICP备13007948号</span>
            </div>
        </div>
    </form>
</body>
</html>
